package models

// 验证码记录
type MSmsCode struct {
	ID        int    `gorm:"type:int(10);primaryKey" json:"id"`
	Aid       int    `gorm:"type:int(10);" json:"aid"`
	Text      string `gorm:"type:varchar(255);" json:"text"`    //发送对象
	SmsText   string `gorm:"type:varchar(255)" json:"sms_text"` //验证码
	CreatedAt int    `json:"created_at"`
	UpdatedAt int    `json:"updated_at"`
}

func (table *MSmsCode) TableName() string {
	return "m_sms_code"
}
